<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @media screen and (min-width: 700px) and (max-width: 1000px){
            body {
                background-color: lightblue;
            }
        }
        @media screen and (max-width: 699px) {
            body {
                background-color: red;
            }
        }
    </style>
</head>

<body>

</body>

</html>